An Animation Tool for Supporting Specification-Based Software Architectures

نویسندگان

  • Krzysztof Czarnecki
  • Kevin Lano
چکیده

One of the important issues in supporting specification-based software architectures is how to verify that formal specifications of a software system satisfy liveness, safety and timing constraints, and are consistent and complete with regard to user requirements. Animation has been proposed as one of the techniques for achieving this goal. This article presents a practical approach and a tool to animating object-oriented formal specifications written in the language Z. Implemented in Prolog, the tool handles inheritance, object identity, invariant and precondition checks, both the logical and the sequential method composition, and nondeterminism. It offers a solution to the mutable state problem. The merits of applying the tool to validating formal specifications are demonstrated in a case study. Animation is shown to be helpful in gaining the insight on how the specified system works, in validating the conformance of the formal specification to particular user requirements, as well as in "debugging" the formal specification.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Specification and Animation of Reactive Systems

SOLVE (Specification using an Object-based, LOTOS-defined, Visual language) is designed to allow formal requirements capture, particularly for reactive systems. The SOLVE language is object-based, and formally defined using LOTOS (Language Of Temporal Ordering Specification). SOLVE is supported by tools that allow direct visual animation of systems specified in this language. Animation is suppo...

متن کامل

An automated approach to specification animation for validation

Formal specification has been increasingly adopted for the development of software systems of the highest integrity. However, the readability of specifications for large-scale and complex systems can be so poor that even the developers may not easily understand whether their specifications define the ‘‘intended behaviors’’. In this paper, we describe a software tool that supports the animation ...

متن کامل

Combining the Animation and Testing of Abstract Data Types

A formal specification animator interprets and executes specifications to give them the appearance of liveliness. This can be used to identify errors in a specification because it provides concrete examples of the behaviour of the specification. By providing a suitable user interface, it allows users unfamiliar with specification languages and notations to interact with the specification. In th...

متن کامل

Analysing Modes and Subtypes in Z Specifications

Poor requirements are the cause of a large proportion of defects in released software. Requirements can be improved by using mathematical modelling techniques. These have a number of advantages and a singlemajor disadvantage–it is difficult to demonstrate a formal specification to a client or user. One proposed solution to this problem is to automatically derive (executable) prototypes of a sys...

متن کامل

An architecture and environment for decentralised, internet-wide software process modelling and enactment

Centralised client/server approaches to supporting software process modelling and enactment are common, but can suffer from serious robustness, performance and security problems. We describe a decentralised architecture for software process modelling and enactment, which also incorporates distributed work coordination, task automation and system integration facilities. Our environment based on ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995